package com.zeroone.star.project.systemhome;

import com.zeroone.star.project.dto.systemhome.ScheduleDTO;
import com.zeroone.star.project.vo.JsonVO;

import java.util.List;

/**
 * @BelongsProject: oa-java
 * @BelongsPackage: com.zeroone.star.project.systemhome
 * @Author: dashuai
 * @CreateTime: 2024-11-17  20:19
 * @Description: 日程有关接口
 * @Version: 1.0
 */
public interface ScheduleApis {
    /**
     * @description: 查询日程信息
     * @author: dashuai
     * @date: 2024/11/17 20:20
     * @param: [id] 登录人id
     * @return: JsonVO<List<ScheduleDTO>>
     **/
    JsonVO<List<ScheduleDTO>> queryScheduleList(String id);

    /**
     * @description: 统计日程个数
     * @author: dashuai
     * @date: 2024/11/17 20:20
     * @param: [id] 登录人id
     * @return: JsonVO<Integer>
     **/
    JsonVO<Integer> CountSchedule(String id);
}
